package com.preskool.service;

import com.preskool.dto.ActionResult;
import com.preskool.po.Hostel;
import io.swagger.models.auth.In;

import java.util.List;

public interface HostelService {

List<Hostel> findAllHostel(Integer currentPage,Integer pageSize);

    Integer delHostel(Integer roomNo);

    Boolean update(Hostel hostel);

    Hostel findOneByroomNo(Integer roomNo);

    Integer add(Hostel hostel);

    //根据房型大中小模糊查
    List<Hostel> findByType(String roomType);
}
